package com.javatwo;

import java.util.Scanner;

public class Demo1 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("输入用户名：");
        String name = scanner.next();
        System.out.println("输入密码：");
        String password = scanner.next();
        if(name.equals("admin") && password.equals("123")){
            System.out.println("请输入性别：");
            String sex = scanner.next();
            if(sex.equals("女")){
                System.out.println("欢迎您登陆点餐系统.....");
           }else {
                System.out.println("您不是女生.拒绝访问");
            }
        }else if (1>0){
            System.out.println("ssssss");
        }else if (1>0){
            System.out.println("ssssss");
        }else {
            System.out.println("您的用户名或者密码错误");
        }

    }
}
